package com.zhn.evsi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhn.evsi.domain.dto.evsi.EvsiMarketGroupsHistoryDTO;
import com.zhn.evsi.domain.dto.evsi.EvsiMarketGroupsOrdersDTO;
import com.zhn.evsi.domain.dto.evsi.EvsiMarketStatDTO;
import com.zhn.evsi.domain.dto.evsi.market.EvsiMarketOrderDTO;
import com.zhn.evsi.domain.entity.evsi.EvsiInvtypes;
import com.zhn.evsi.domain.entity.evsi.EvsiMarketgroups;

import java.util.List;
import java.util.Map;

public interface IEvsiMarketgroupsService extends IService<EvsiMarketgroups> {

    /**
     * 查询我的订单
     * 并查询到我的订单的市场情况
     * */
    List<EvsiMarketOrderDTO> groupsOrders();

    /**
     * 通过id获取当前市场详情
     * */
    List<EvsiMarketStatDTO> marketStat(Integer[] typeId, String regionLimit);

    /**
     * 查询我的订单历史
     * */
    List<EvsiMarketGroupsHistoryDTO> groupsHistory(Long characters);

    /**
     * 通过商品组获取商品具体信息
     * */
    List<EvsiInvtypes> groupsType(Integer marketGroupId);

    /**
     * 构造市场商品组树状结构
     * */
    List<EvsiMarketgroups> groupsMenu(Integer state);

    /**
     * 估价
     * */
    String valuation(String text);

    /**
     * 估价回调
     * */
    Map<String, Object> valuationCallBack(String randomString);
}
